package com.qingcloud.df.executor.constant;

public class WebsocketConstant {

    public static final String MSG_CMD = "cmd";
    public static final String MSG_ID = "msgId";
    public static final String MSG_TXT = "msgTxt";
    public static final String MSG_USER_ID = "userId";

    public static final String MSG_CHAT = "chat";
    public static final String CMD_CHECK = "heartcheck";
    /**
     * 消息类型 user 用户消息
     */
    public static final String CMD_USER = "user";
    /**
     * 消息类型 topic 系统通知
     */
    public static final String CMD_TOPIC = "topic";

    /**
     * 消息类型 email
     */
    public static final String CMD_EMAIL = "email";
    /**
     * 消息类型 meetingsign 会议签到
     */
    public static final String CMD_SIGN = "sign";

    /**
     * 消息类型 新闻发布/取消
     */
    public static final String NEWS_PUBLISH = "publish";

}
